%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Scripts to process wire-mesh, ultrasound and fieldbus data
% Autor: Carlos Amaral (ceamaral@hotmail.com)
% data: 05/10/2010
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %PROCESSING OF 2 WIREMESHS, TO USE IT IN ONLY ONE REPLACE THE FUNCTION
 %"gen_v_file_2x8x8_2wms(file)"
 
function main_script_carlos              

max_distance_between_sensors_WM1_US1 = 0.400; % meters
distance_between_sensors_WM = 0.140; % meters
distance_between_sensors_US = 0.130; % meters
freq_aq_WM = 500;                   % Hz
freq_aq_US = 500;                   % Hz
tube_diameter = 0.026;               %tube diammeter (meters)

  
%read_all_measurements('WM','2_channels',freq_aq_WM,tube_diameter); %read chanel void and watercut of each sensor
%read_all_measurements('US','2_channels',freq_aq_US,tube_diameter); %read chanel void and watercut of each sensor

alpha_analysis('US1',freq_aq_US,tube_diameter); %Plots Figures for ultrasound sensor 1

%alpha_analysis('US1',freq_aq_US,tube_diameter); %Plots Figures for ultrasound sensor 1

%load .\Matlab_data\JL13JG10.mat


return 